get
Returns an Optional
that contains the callback of the given type or an empty
Optional
if there is no registered callback with the given type.
Return
an Optional
that contains the callback of the given type
Parameters
callback Class
the callback class
<C>
the callback type